const api: ApiConfig = {
  // 出入证表分页列表
  inoutList: {
    method: 'GET',
    url: '/oa/pass/pass/list'
  },
  // 获取出入证表信息
  inoutInfo: {
    method: 'GET',
    url: '/oa/pass/pass/info/:id'
  },
  //   保存出入证表信息
  inoutSave: {
    method: 'POST',
    url: '/oa/pass/pass/save'
  },
  inoutUpdate: {
    method: 'POST',
    url: '/oa/pass/pass/update'
  },
  // 删除出入证表信息
  inoutDelete: {
    method: 'POST',
    url: '/oa/pass/pass/delete'
  },
  //陪同人员下拉
  allUserList: {
    method: 'GET',
    url: '/sys/user/partUserList'
    // url: '/sys/user/allUserList'
  },
  // 导出
  inoutExport: {
    method: 'GET',
    url: '/oa/pass/pass/passExport',
    responseType: 'blob'
  },
  inoutAllExport: {
    method: 'GET',
    url: '/oa/pass/pass/allPassExport',
    responseType: 'blob'
  },
  inoutDepOneExport: {
    method: 'GET',
    url: '/oa/pass/pass/passExport',
    responseType: 'blob'
  },
  inoutrevoke: {
    method: 'GET',
    url: '/oa/pass/pass/revoke'
  },
  //出入证全馆统计列表
  totalList: {
    method: 'GET',
    url: '/oa/pass/pass/allList'
  },
  //常用访客
  CustomList: {
    method: 'GET',
    url: '/oa/pass/pass/getCommonInfoList'
  },
  //保存常用访客
  CustomSave: {
    method: 'POST',
    url: '/oa/pass/pass/saveCommonInfo'
  },
  CustomDelete: {
    method: 'POST',
    url: '/oa/pass/pass/deleteCommonInfo'
  }
}

export default api
